package shayu.search.feign;

import io.renren.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient("shop-product")
public interface ProductFeignService {

    @PostMapping("/product/attr/info/{attrId}")
    R attrInfo(@RequestParam("attrId") Long attrId);

    @GetMapping("/product/brand/infos")
    R info(@RequestParam("brandIds") List<Long> brandIds);


}
